package com.woniiu02;

public class Test {
    public static void main(String[] args) {
      amimal(new Cat());
      amimal(new Dog());
    }

    static void amimal(Animal b){
        b.eat();
    }
}
